package leetcode.math.common.strategy;

public class AddFunction implements CustomFunction {
    @Override
    public int f(int x, int y) {
        return x + y;
    }

    @Override
    public int getFunctionId() {
        return EnumOperate.ADD.getFunctionId();
    }
}
